(function func(){
    var window = {innerWidth: 1280, innerHeight: 800, screenX: 0, screenY: 0, screen: {width: 1280, height: 800}};
    var document = (function(){
        var cookies = [];
        return {
            get cookie() {
                return cookies;
            },
            set cookie(c) {
                cookies.push(c);
            }
        }
    })();

})();